WARNING: This program has a bug, which means we need to fix it! Here's another function rule!

RULE 2: Function names cannot start with a number. Function names can contain numbers, as long as the number does not start the name.

  • Click Run and read the error message.
  • Debug the program by moving the number to the end of the function name.


To navigate the page using the TAB key, first press ESC to exit the code editor.

sprite = codesters.Sprite("athlete2", 0, -125) sprite.set_speed(4) def 3laps(): stage.set_background("soccerfield") sprite.say("I try to practice every day.") sprite.move_left(200) sprite.move_right(400) sprite.move_left(400) sprite.move_right(400) sprite.move_left(400) sprite.move_right(200) laps3()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)